package com.hzgj.bcl.soa.config;

import java.util.Map;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Created by dell on 2015/3/25.
 */
@Setter
@Getter
@ToString
public class ReferenceDef extends ReferenceAttr {

    private String listener;
    private String interfaceClass;
    private Map<String, MethodDef> methodDefs;
    private int methodCount;

    public void setInterface(String interfaceClass) {
        this.interfaceClass = interfaceClass;
        setService(interfaceClass);
    }
}
